
%macro export_results(dname=);
	PROC EXPORT DATA= rlib.&dname
            OUTFILE= "&outdir./&dname..dta" 
            DBMS=DTA REPLACE;
	RUN;
	
	
%mend;

